<script type="text/javascript">
$("#checkAll").checkall({itemName : "name"});
</script>
<#include "/component/pagination.html" />
<table class="table table-striped table-hover">
	<tr>
		<th width="3%" scope="col"><input
			id="checkAll" type="checkbox" value=""
			onClick="CheckSelect(this.form);return false;" /></th>
		<th width="20%" scope="col"><@spring.message code='recycle.pool'/></th>
		<th width="20%" scope="col"><@spring.message code='recycle.imageName'/></th>
		<th width="20%" scope="col"><@spring.message code='recycle.user_deleted'/></th>
		<th width="20%" scope="col"><@spring.message code='recycle.deletetime'/></th>
	</tr>
	<#list pager.list as item>
	<tr
		<#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
		<td class="c"><input name="name" type="checkbox" value="${item.id}" /></td>
		<td>${item.poolName}</td>
        <td>${item.name}<#if item.type==0>(<@spring.message code='lunGroup.luns'/>)<#elseif item.type==1>(<@spring.message code='lun.snapshot'/>)<#else>(<@spring.message code='lun.clone'/>)</#if></td>
        <td>${item.createTime?string('yyyy-MM-dd HH:mm:ss')}</td>
        <td>${item.deleteTime?string('yyyy-MM-dd HH:mm:ss')}</td>
       </tr>
	</#list>
</table>
<@pagination/>
